package core.attribute.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="attributevalue")
public class AttributeValue implements Serializable
{
	private static final long serialVersionUID = -8767337896773261247L;
	private Long uuid;
	/* attribute type could be type of 
	 * checkbox,radiobutton,dropdown,
	 */
	private String attributeType ;
	private String stringValue ;
	private String label ;
	
	
	@Id
	@GeneratedValue
	@Column(name="uuid")
	public Long getUuid() {
		return uuid;
	}
	public void setUuid(Long uuid) {
		this.uuid = uuid;
	}
	@Column(name="stringvalue")
	public String getStringValue() {
		return stringValue;
	}
	public void setStringValue(String stringValue) {
		this.stringValue = stringValue;
	}
	/* attribute type could be type of 
	 * checkbox,radiobutton,dropdown,textfield,
	 */
	@Column(name="attributetype")
	public String getAttributeType() {
		return attributeType;
	}
	public void setAttributeType(String attributeType) {
		this.attributeType = attributeType;
	}
	@Column(name="label")
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
}
